import React from 'react';
import WithToolTip from './withToolsTip';
const itemC = (props) => {
	return (
		<div className="container">
			<WithToolTip>
				{({ showToolTip, content }) => {
					<div>
						<button className="btn btn-primary" type="btn">
							ToolTipC
						</button>
						{showToolTip && (
							<span className="badge badge-pill badge-primary ml-2">
								{content}
							</span>
						)}
					</div>;
				}}
			</WithToolTip>
		</div>
	);
};

export default itemC;
